package com.alipay.api.request;

import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayTrustUserZminfoPairGetResponse;
import java.util.Map;

public class AlipayTrustUserZminfoPairGetRequest implements AlipayRequest {

   private AlipayHashMap udfParams;
   private String apiVersion = "1.0";
   private String applyUserInfo;
   private String ownerUserInfo;
   private String zmInfoType;
   private String terminalType;
   private String terminalInfo;
   private String prodCode;
   private String notifyUrl;


   public void setApplyUserInfo(String applyUserInfo) {
      this.applyUserInfo = applyUserInfo;
   }

   public String getApplyUserInfo() {
      return this.applyUserInfo;
   }

   public void setOwnerUserInfo(String ownerUserInfo) {
      this.ownerUserInfo = ownerUserInfo;
   }

   public String getOwnerUserInfo() {
      return this.ownerUserInfo;
   }

   public void setZmInfoType(String zmInfoType) {
      this.zmInfoType = zmInfoType;
   }

   public String getZmInfoType() {
      return this.zmInfoType;
   }

   public String getNotifyUrl() {
      return this.notifyUrl;
   }

   public void setNotifyUrl(String notifyUrl) {
      this.notifyUrl = notifyUrl;
   }

   public String getApiVersion() {
      return this.apiVersion;
   }

   public void setApiVersion(String apiVersion) {
      this.apiVersion = apiVersion;
   }

   public void setTerminalType(String terminalType) {
      this.terminalType = terminalType;
   }

   public String getTerminalType() {
      return this.terminalType;
   }

   public void setTerminalInfo(String terminalInfo) {
      this.terminalInfo = terminalInfo;
   }

   public String getTerminalInfo() {
      return this.terminalInfo;
   }

   public void setProdCode(String prodCode) {
      this.prodCode = prodCode;
   }

   public String getProdCode() {
      return this.prodCode;
   }

   public String getApiMethodName() {
      return "alipay.trust.user.zminfo.pair.get";
   }

   public Map getTextParams() {
      AlipayHashMap txtParams = new AlipayHashMap();
      txtParams.put("apply_user_info", this.applyUserInfo);
      txtParams.put("owner_user_info", this.ownerUserInfo);
      txtParams.put("zm_info_type", this.zmInfoType);
      if(this.udfParams != null) {
         txtParams.putAll(this.udfParams);
      }

      return txtParams;
   }

   public void putOtherTextParam(String key, String value) {
      if(this.udfParams == null) {
         this.udfParams = new AlipayHashMap();
      }

      this.udfParams.put(key, value);
   }

   public Class getResponseClass() {
      return AlipayTrustUserZminfoPairGetResponse.class;
   }
}
